home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / vcfimprs.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  17.6 KB  |  358 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1998 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'VCFImprs.pas' rev: 3.00
  6.  
  7. #ifndef VCFImprsHPP
  8. #define VCFImprsHPP
  9. #include <Menus.hpp>
  10. #include <Controls.hpp>
  11. #include <OleCtrls.hpp>
  12. #include <Graphics.hpp>
  13. #include <Classes.hpp>
  14. #include <OleCtl.hpp>
  15. #include <OLE2.hpp>
  16. #include <SysInit.hpp>
  17. #include <System.hpp>
  18.  
  19. //-- user supplied -----------------------------------------------------------
  20.  
  21. namespace Vcfimprs
  22. {
  23. //-- type declarations -------------------------------------------------------
  24. typedef void __fastcall (__closure *TVCFirstImpressionChartSelected)(System::TObject* Sender, short 
  25.     &MouseFlags, short &Cancel);
  26.  
  27. typedef void __fastcall (__closure *TVCFirstImpressionTitleSelected)(System::TObject* Sender, short 
  28.     &MouseFlags, short &Cancel);
  29.  
  30. typedef void __fastcall (__closure *TVCFirstImpressionFootnoteSelected)(System::TObject* Sender, short 
  31.     &MouseFlags, short &Cancel);
  32.  
  33. typedef void __fastcall (__closure *TVCFirstImpressionLegendSelected)(System::TObject* Sender, short 
  34.     &MouseFlags, short &Cancel);
  35.  
  36. typedef void __fastcall (__closure *TVCFirstImpressionPlotSelected)(System::TObject* Sender, short &
  37.     MouseFlags, short &Cancel);
  38.  
  39. typedef void __fastcall (__closure *TVCFirstImpressionAxisSelected)(System::TObject* Sender, short &
  40.     AxisId, short &AxisIndex, short &MouseFlags, short &Cancel);
  41.  
  42. typedef void __fastcall (__closure *TVCFirstImpressionAxisLabelSelected)(System::TObject* Sender, short 
  43.     &AxisId, short &AxisIndex, short &labelSetIndex, short &LabelIndex, short &MouseFlags, short &Cancel
  44.     );
  45.  
  46. typedef void __fastcall (__closure *TVCFirstImpressionAxisTitleSelected)(System::TObject* Sender, short 
  47.     &AxisId, short &AxisIndex, short &MouseFlags, short &Cancel);
  48.  
  49. typedef void __fastcall (__closure *TVCFirstImpressionPointSelected)(System::TObject* Sender, short 
  50.     &Series, short &DataPoint, short &MouseFlags, short &Cancel);
  51.  
  52. typedef void __fastcall (__closure *TVCFirstImpressionPointLabelSelected)(System::TObject* Sender, short 
  53.     &Series, short &DataPoint, short &MouseFlags, short &Cancel);
  54.  
  55. typedef void __fastcall (__closure *TVCFirstImpressionSeriesSelected)(System::TObject* Sender, short 
  56.     &Series, short &MouseFlags, short &Cancel);
  57.  
  58. typedef void __fastcall (__closure *TVCFirstImpressionSeriesLabelSelected)(System::TObject* Sender, 
  59.     short &Series, short &MouseFlags, short &Cancel);
  60.  
  61. typedef void __fastcall (__closure *TVCFirstImpressionChartActivated)(System::TObject* Sender, short 
  62.     &MouseFlags, short &Cancel);
  63.  
  64. typedef void __fastcall (__closure *TVCFirstImpressionTitleActivated)(System::TObject* Sender, short 
  65.     &MouseFlags, short &Cancel);
  66.  
  67. typedef void __fastcall (__closure *TVCFirstImpressionFootnoteActivated)(System::TObject* Sender, short 
  68.     &MouseFlags, short &Cancel);
  69.  
  70. typedef void __fastcall (__closure *TVCFirstImpressionLegendActivated)(System::TObject* Sender, short 
  71.     &MouseFlags, short &Cancel);
  72.  
  73. typedef void __fastcall (__closure *TVCFirstImpressionPlotActivated)(System::TObject* Sender, short 
  74.     &MouseFlags, short &Cancel);
  75.  
  76. typedef void __fastcall (__closure *TVCFirstImpressionAxisActivated)(System::TObject* Sender, short 
  77.     &AxisId, short &AxisIndex, short &MouseFlags, short &Cancel);
  78.  
  79. typedef void __fastcall (__closure *TVCFirstImpressionAxisLabelActivated)(System::TObject* Sender, short 
  80.     &AxisId, short &AxisIndex, short &labelSetIndex, short &LabelIndex, short &MouseFlags, short &Cancel
  81.     );
  82.  
  83. typedef void __fastcall (__closure *TVCFirstImpressionAxisTitleActivated)(System::TObject* Sender, short 
  84.     &AxisId, short &AxisIndex, short &MouseFlags, short &Cancel);
  85.  
  86. typedef void __fastcall (__closure *TVCFirstImpressionPointActivated)(System::TObject* Sender, short 
  87.     &Series, short &DataPoint, short &MouseFlags, short &Cancel);
  88.  
  89. typedef void __fastcall (__closure *TVCFirstImpressionPointLabelActivated)(System::TObject* Sender, 
  90.     short &Series, short &DataPoint, short &MouseFlags, short &Cancel);
  91.  
  92. typedef void __fastcall (__closure *TVCFirstImpressionSeriesActivated)(System::TObject* Sender, short 
  93.     &Series, short &MouseFlags, short &Cancel);
  94.  
  95. typedef void __fastcall (__closure *TVCFirstImpressionSeriesLabelActivated)(System::TObject* Sender, 
  96.     short &Series, short &MouseFlags, short &Cancel);
  97.  
  98. class DELPHICLASS TVCFirstImpression;
  99. class PASCALIMPLEMENTATION TVCFirstImpression : public Olectrls::TOleControl 
  100. {
  101.     typedef Olectrls::TOleControl inherited;
  102.     
  103. private:
  104.     TVCFirstImpressionChartSelected FOnChartSelected;
  105.     TVCFirstImpressionTitleSelected FOnTitleSelected;
  106.     TVCFirstImpressionFootnoteSelected FOnFootnoteSelected;
  107.     TVCFirstImpressionLegendSelected FOnLegendSelected;
  108.     TVCFirstImpressionPlotSelected FOnPlotSelected;
  109.     TVCFirstImpressionAxisSelected FOnAxisSelected;
  110.     TVCFirstImpressionAxisLabelSelected FOnAxisLabelSelected;
  111.     TVCFirstImpressionAxisTitleSelected FOnAxisTitleSelected;
  112.     TVCFirstImpressionPointSelected FOnPointSelected;
  113.     TVCFirstImpressionPointLabelSelected FOnPointLabelSelected;
  114.     TVCFirstImpressionSeriesSelected FOnSeriesSelected;
  115.     TVCFirstImpressionSeriesLabelSelected FOnSeriesLabelSelected;
  116.     TVCFirstImpressionChartActivated FOnChartActivated;
  117.     TVCFirstImpressionTitleActivated FOnTitleActivated;
  118.     TVCFirstImpressionFootnoteActivated FOnFootnoteActivated;
  119.     TVCFirstImpressionLegendActivated FOnLegendActivated;
  120.     TVCFirstImpressionPlotActivated FOnPlotActivated;
  121.     TVCFirstImpressionAxisActivated FOnAxisActivated;
  122.     TVCFirstImpressionAxisLabelActivated FOnAxisLabelActivated;
  123.     TVCFirstImpressionAxisTitleActivated FOnAxisTitleActivated;
  124.     TVCFirstImpressionPointActivated FOnPointActivated;
  125.     TVCFirstImpressionPointLabelActivated FOnPointLabelActivated;
  126.     TVCFirstImpressionSeriesActivated FOnSeriesActivated;
  127.     TVCFirstImpressionSeriesLabelActivated FOnSeriesLabelActivated;
  128.     Classes::TNotifyEvent FOnApplyChanges;
  129.     int __stdcall Get_GetBitmap(const System::Variant options);
  130.     
  131. protected:
  132.     virtual void __fastcall InitControlData(void);
  133.     
  134. public:
  135.     void __stdcall EditPaste(void);
  136.     void __stdcall EditCopy(void);
  137.     void __stdcall ActivateSelectionDialog(void);
  138.     void __stdcall Layout(void);
  139.     void __stdcall ToDefaults(void);
  140.     void __stdcall PrintSetupDialog(void);
  141.     void __stdcall PrintChart(void);
  142.     void __stdcall SelectPart(short part, short index1, short index2, short index3, short index4);
  143.     void __stdcall GetSelectedPart(short &part, short &index1, short &index2, short &index3, short &index4
  144.         );
  145.     void __stdcall GetDLLVersion(short &major, short &minor);
  146.     void __stdcall TwipsToChartPart(int xVal, int yVal, short &part, short &index1, short &index2, short 
  147.         &index3, short &index4);
  148.     void __stdcall ReadFromFile(const System::AnsiString FileName);
  149.     void __stdcall WritePictureToFile(const System::AnsiString FileName, short pictureType, short options
  150.         );
  151.     void __stdcall WriteToFile(const System::AnsiString FileName);
  152.     void __stdcall ActivateFormatMenu(int X, int Y);
  153.     void __stdcall GetMetafile(short options, int &Handle, int &Width, int &Height);
  154.     void __stdcall CopyDataFromArray(short Top, short Left, short Bottom, short Right, const System::Variant 
  155.         Array_);
  156.     void __stdcall CopyDataToArray(short Top, short Left, short Bottom, short Right, const System::Variant 
  157.         Array_);
  158.     void __stdcall Draw(int hDC, short hDCType, int Top, int Left, int Bottom, int Right, Word Layout, 
  159.         Word Stretch);
  160.     void __stdcall UseWizard(void);
  161.     void __stdcall EditChartData(void);
  162.     HIDESBASE void __stdcall Refresh(void);
  163.     void __stdcall AboutBox(void);
  164.     __property System::AnsiString SsLinkSheet = {read=GetStringProp, write=SetStringProp, index=22};
  165.     __property int Handle = {read=GetIntegerProp, write=SetIntegerProp, index=24, nodefault};
  166.     __property System::Variant Picture = {read=GetVariantProp, write=SetVariantProp, index=25};
  167.     __property int GetBitmap[System::Variant options] = {read=Get_GetBitmap};
  168.     
  169. __published:
  170.     __property TabStop ;
  171.     __property DragCursor ;
  172.     __property DragMode ;
  173.     __property ParentShowHint ;
  174.     __property PopupMenu ;
  175.     __property ShowHint ;
  176.     __property TabOrder ;
  177.     __property Visible ;
  178.     __property OnDragDrop ;
  179.     __property OnDragOver ;
  180.     __property OnEndDrag ;
  181.     __property OnEnter ;
  182.     __property OnExit ;
  183.     __property OnStartDrag ;
  184.     __property OnClick ;
  185.     __property OnDblClick ;
  186.     __property OnKeyDown ;
  187.     __property OnKeyPress ;
  188.     __property OnKeyUp ;
  189.     __property OnMouseDown ;
  190.     __property OnMouseMove ;
  191.     __property OnMouseUp ;
  192.     __property Word AutoIncrement = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=1, 
  193.         nodefault};
  194.     __property Word RandomFill = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=2, nodefault
  195.         };
  196.     __property short ChartType = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=3, nodefault
  197.         };
  198.     __property short Column = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=4, nodefault
  199.         };
  200.     __property short ColumnCount = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=5, 
  201.         nodefault};
  202.     __property System::AnsiString ColumnLabel = {read=GetStringProp, write=SetStringProp, stored=false, 
  203.         index=6};
  204.     __property short ColumnLabelCount = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=7
  205.         , nodefault};
  206.     __property short ColumnLabelIndex = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=8
  207.         , nodefault};
  208.     __property System::AnsiString Data = {read=GetStringProp, write=SetStringProp, stored=false, index=9
  209.         };
  210.     __property System::AnsiString FootnoteText = {read=GetStringProp, write=SetStringProp, stored=false
  211.         , index=10};
  212.     __property Word Repaint = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=11, nodefault
  213.         };
  214.     __property short Row = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=12, nodefault
  215.         };
  216.     __property short RowCount = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=13, nodefault
  217.         };
  218.     __property System::AnsiString RowLabel = {read=GetStringProp, write=SetStringProp, stored=false, index=14
  219.         };
  220.     __property short RowLabelCount = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=15
  221.         , nodefault};
  222.     __property short RowLabelIndex = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=16
  223.         , nodefault};
  224.     __property short SeriesColumn = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=17
  225.         , nodefault};
  226.     __property short SeriesType = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=18, 
  227.         nodefault};
  228.     __property Word ShowLegend = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=19, nodefault
  229.         };
  230.     __property short SsLinkMode = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=20, 
  231.         nodefault};
  232.     __property System::AnsiString SsLinkRange = {read=GetStringProp, write=SetStringProp, stored=false, 
  233.         index=21};
  234.     __property short DrawMode = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=23, nodefault
  235.         };
  236.     __property short BorderStyle = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=-504
  237.         , nodefault};
  238.     __property Word Enabled = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=-514, nodefault
  239.         };
  240.     __property short hWnd = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=-515, nodefault
  241.         };
  242.     __property System::Variant Title = {read=GetVariantProp, write=SetVariantProp, stored=false, index=26
  243.         };
  244.     __property System::Variant Footnote = {read=GetVariantProp, write=SetVariantProp, stored=false, index=27
  245.         };
  246.     __property System::AnsiString TitleText = {read=GetStringProp, write=SetStringProp, stored=false, index=28
  247.         };
  248.     __property Word Stacking = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=29, nodefault
  249.         };
  250.     __property short TextLengthType = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=30
  251.         , nodefault};
  252.     __property Word AllowUserChanges = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=31
  253.         , nodefault};
  254.     __property Word AllowSelections = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=32
  255.         , nodefault};
  256.     __property Word AllowSeriesSelection = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=33
  257.         , nodefault};
  258.     __property Word AllowDynamicRotation = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=34
  259.         , nodefault};
  260.     __property short ActiveSeriesCount = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=35
  261.         , nodefault};
  262.     __property System::Variant Backdrop = {read=GetVariantProp, write=SetVariantProp, stored=false, index=36
  263.         };
  264.     __property System::Variant PrintInformation = {read=GetVariantProp, write=SetVariantProp, stored=false
  265.         , index=37};
  266.     __property System::Variant Legend = {read=GetVariantProp, write=SetVariantProp, stored=false, index=38
  267.         };
  268.     __property System::Variant DataGrid = {read=GetVariantProp, write=SetVariantProp, stored=false, index=39
  269.         };
  270.     __property System::Variant Plot = {read=GetVariantProp, write=SetVariantProp, stored=false, index=40
  271.         };
  272.     __property int TwipsWidth = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=41, nodefault
  273.         };
  274.     __property int TwipsHeight = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=42, nodefault
  275.         };
  276.     __property Word AllowDithering = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=43
  277.         , nodefault};
  278.     __property short ErrorOffset = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=44
  279.         , nodefault};
  280.     __property Word DoSetCursor = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=45, nodefault
  281.         };
  282.     __property System::AnsiString FileName = {read=GetStringProp, write=SetStringProp, stored=false, index=46
  283.         };
  284.     __property Word Chart3d = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=47, nodefault
  285.         };
  286.     __property System::AnsiString SsLinkBook = {read=GetStringProp, write=SetStringProp, stored=false, 
  287.         index=48};
  288.     __property TVCFirstImpressionChartSelected OnChartSelected = {read=FOnChartSelected, write=FOnChartSelected
  289.         };
  290.     __property TVCFirstImpressionTitleSelected OnTitleSelected = {read=FOnTitleSelected, write=FOnTitleSelected
  291.         };
  292.     __property TVCFirstImpressionFootnoteSelected OnFootnoteSelected = {read=FOnFootnoteSelected, write=
  293.         FOnFootnoteSelected};
  294.     __property TVCFirstImpressionLegendSelected OnLegendSelected = {read=FOnLegendSelected, write=FOnLegendSelected
  295.         };
  296.     __property TVCFirstImpressionPlotSelected OnPlotSelected = {read=FOnPlotSelected, write=FOnPlotSelected
  297.         };
  298.     __property TVCFirstImpressionAxisSelected OnAxisSelected = {read=FOnAxisSelected, write=FOnAxisSelected
  299.         };
  300.     __property TVCFirstImpressionAxisLabelSelected OnAxisLabelSelected = {read=FOnAxisLabelSelected, write=
  301.         FOnAxisLabelSelected};
  302.     __property TVCFirstImpressionAxisTitleSelected OnAxisTitleSelected = {read=FOnAxisTitleSelected, write=
  303.         FOnAxisTitleSelected};
  304.     __property TVCFirstImpressionPointSelected OnPointSelected = {read=FOnPointSelected, write=FOnPointSelected
  305.         };
  306.     __property TVCFirstImpressionPointLabelSelected OnPointLabelSelected = {read=FOnPointLabelSelected, 
  307.         write=FOnPointLabelSelected};
  308.     __property TVCFirstImpressionSeriesSelected OnSeriesSelected = {read=FOnSeriesSelected, write=FOnSeriesSelected
  309.         };
  310.     __property TVCFirstImpressionSeriesLabelSelected OnSeriesLabelSelected = {read=FOnSeriesLabelSelected
  311.         , write=FOnSeriesLabelSelected};
  312.     __property TVCFirstImpressionChartActivated OnChartActivated = {read=FOnChartActivated, write=FOnChartActivated
  313.         };
  314.     __property TVCFirstImpressionTitleActivated OnTitleActivated = {read=FOnTitleActivated, write=FOnTitleActivated
  315.         };
  316.     __property TVCFirstImpressionFootnoteActivated OnFootnoteActivated = {read=FOnFootnoteActivated, write=
  317.         FOnFootnoteActivated};
  318.     __property TVCFirstImpressionLegendActivated OnLegendActivated = {read=FOnLegendActivated, write=FOnLegendActivated
  319.         };
  320.     __property TVCFirstImpressionPlotActivated OnPlotActivated = {read=FOnPlotActivated, write=FOnPlotActivated
  321.         };
  322.     __property TVCFirstImpressionAxisActivated OnAxisActivated = {read=FOnAxisActivated, write=FOnAxisActivated
  323.         };
  324.     __property TVCFirstImpressionAxisLabelActivated OnAxisLabelActivated = {read=FOnAxisLabelActivated, 
  325.         write=FOnAxisLabelActivated};
  326.     __property TVCFirstImpressionAxisTitleActivated OnAxisTitleActivated = {read=FOnAxisTitleActivated, 
  327.         write=FOnAxisTitleActivated};
  328.     __property TVCFirstImpressionPointActivated OnPointActivated = {read=FOnPointActivated, write=FOnPointActivated
  329.         };
  330.     __property TVCFirstImpressionPointLabelActivated OnPointLabelActivated = {read=FOnPointLabelActivated
  331.         , write=FOnPointLabelActivated};
  332.     __property TVCFirstImpressionSeriesActivated OnSeriesActivated = {read=FOnSeriesActivated, write=FOnSeriesActivated
  333.         };
  334.     __property TVCFirstImpressionSeriesLabelActivated OnSeriesLabelActivated = {read=FOnSeriesLabelActivated
  335.         , write=FOnSeriesLabelActivated};
  336.     __property Classes::TNotifyEvent OnApplyChanges = {read=FOnApplyChanges, write=FOnApplyChanges};
  337. public:
  338.         
  339.     /* TOleControl.Create */ __fastcall virtual TVCFirstImpression(Classes::TComponent* AOwner) : Olectrls::
  340.         TOleControl(AOwner) { }
  341.     /* TOleControl.Destroy */ __fastcall virtual ~TVCFirstImpression(void) { }
  342.     
  343. public:
  344.     /* TWinControl.CreateParented */ __fastcall TVCFirstImpression(HWND ParentWindow) : Olectrls::TOleControl(
  345.         ParentWindow) { }
  346.     
  347. };
  348.  
  349. //-- var, const, procedure ---------------------------------------------------
  350. extern PACKAGE void __fastcall Register(void);
  351.  
  352. }    /* namespace Vcfimprs */
  353. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  354. using namespace Vcfimprs;
  355. #endif
  356. //-- end unit ----------------------------------------------------------------
  357. #endif    // VCFImprs
  358.